POV-Ray : Newsgroups : povray.advanced-users : movie within : Re: movie within Server Time
29 Jul 2024 02:34:52 EDT (-0400)
  Re: movie within  
From: Warp
Date: 28 Jan 2004 04:57:35
Message: <4017878f@news.povray.org>
Dan P <dan### [at] yahoocom> wrote:
> PS: Please don't judge my coding skills on that posting -- I wrote that as a
> quick one-off to get the job done and I thought it might illustrate the
> concept.

  IMHO quick coding is not an excuse to break every possible good coding
principle in the market... ;)

> I know you should never use global variables and should comment
> code

  Global variables were just one of the many problems in your code,
and comments aren't necessary if the code is otherwise very clear and
easy to read.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.